package com.headingdata.thisdemo;

public class Student {
    double score;

    public void printThis(){
        System.out.println(this);
    }

    public void printPass(double score){
        if(this.score > score){
            System.out.printf("恭喜您的分数成功通过哈佛的录取！");
        }else{
            System.out.printf("很抱歉，您落选了！");
        }
    }
}
